package com.lei.observer;

public class SubjectY extends Subject{
    private String news;
    public void setNews(String s){
        this.news = s;
        this.notifyObservers(s);
    }
}
